//
//  HLENetworkReachabilityManager.h
//  HLENetwork_Example
//
//  Created by hle1879 on 2020/9/30.
//  Copyright © 2020 13434436448@163.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HLENetWorkConfig.h"

typedef void(^HLENetWorkStatusBlock)(HLENetWorkNetStatus netWorkStatus);

NS_ASSUME_NONNULL_BEGIN

@interface HLENetworkReachabilityManager : NSObject

/// 获取当前网络状态
+ (void)netWorkStatusWithBlock:(HLENetWorkStatusBlock)netWorkStatus;

/// 当前是否有网络
+ (BOOL)isNetwork;

/// 当前网络是否为手机网络
+ (BOOL)isWWANNetwork;

/// 当前网络是否为WiFi网络
+ (BOOL)isWiFiNetwork;

@end

NS_ASSUME_NONNULL_END
